import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    component: () => import('@/views/index.vue'),
  },
  {
    path: '/trade',
    component: () => import('@/views/trade.vue'),
  },
  {
    path: '/order',
    component: () => import('@/views/order.vue'),
  },
  {
    path: '/mine',
    component: () => import('@/views/mine.vue'),
  },
  {
    path: '/ecology',
    component: () => import('@/views/ecology.vue'),
  },
  {
    path: '/whitepaper',
    component: () => import('@/views/whitepaper.vue'),
  },
  {
    path: '/record',
    component: () => import('@/views/record.vue'),
  },


]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router
